package com.ruoyi.produce.process.costApportionment.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

/**
 * 查询条件
 */
@Data
public class CostApportionmentCond extends BaseEntity {
    /**
     * 成本分摊编号
     */
    @NotNull(message = "成本分摊编号不能为空")
    @ApiModelProperty(value = "成本分摊编号", required = true)
    private String costApportionmentId;

    /**
     * 自产生产计划编号
     */
    @NotNull
    @ApiModelProperty(value = "自产生产计划编号", required = true)
    private String planSelfId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;
}
